<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<html>
<head>
	<title>分类标准管理</title>
	
	<script>
		$(document).ready(function() {
			//聚焦第一个输入框
			//$("#task_title").focus();
			//为inputForm注册validate函数
			$("#inputStandardForm").validate();
		});
	</script>
</head>

<body>
	<form id="inputStandardForm" enctype="multipart/form-data" action="${ctx}/standard/${action}" method="post" class="form-horizontal">
		<input type="hidden" name="id" value="${standard.id}"/>
		<fieldset>
			<legend><small>管理分类标准</small></legend>
			<div class="control-group">
				<label for="standard_number" class="control-label">分类标准编码:</label>
				<div class="controls">
					<input type="text" id="standard_number" name="number" value="${standard.number}" class="input-large required" minlength="3"/>
				</div>
			</div>	
			<div class="control-group">
				<label for="standard_name" class="control-label">分类标准名称:</label>
				<div class="controls">
					<input type="text" id="standard_name" name="name" value="${standard.name}" class="input-large required" minlength="3"/>
				</div>
			</div>
			<div class="control-group">
				<label for="standard_remark" class="control-label">备注:</label>
				<div class="controls">
					<textarea id="standard_remark" name="remark" class="input-large">${standard.remark}</textarea>
				</div>
			</div>
			<div class="form-actions">
				<input id="submit_btn" class="btn btn-primary" type="submit" value="提交"/>&nbsp;	
				<input id="cancel_btn" class="btn" type="button" value="返回" onclick="history.back()"/>
			</div>
		</fieldset>
	</form>
</body>
</html>